package com.sc.nft.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sc.nft.entity.BusinessCardOrder;
import com.sc.nft.entity.vo.BusinessCardOrderAdminVO;
import com.sc.nft.entity.vo.UserBusinessCardOrderPageVO;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
* @author zhanghcao
* @description 针对表【sc_business_card_order(订单sql表)】的数据库操作Mapper
* @createDate 2024-07-08 18:30:28
* @Entity generator.domain.BusinessCardOrder
*/
public interface BusinessCardOrderMapper extends BaseMapper<BusinessCardOrder> {

    /**
     * web订单列表
     * @param mp
     * @return
     */
    Page<UserBusinessCardOrderPageVO> userBusinessCardOrderPage(Page mp,@Param("userId") Long userId);

    Page<BusinessCardOrderAdminVO> adminBusinessCardOrderPage(Page page,
                                                              String orderNo,
                                                              String userTel,
                                                              String orderStartTime,
                                                              String orderEndTime,
                                                              String payStartTime,
                                                              String payEndTime);

}




